func runtime.madvise
6 uses
runtime (current package)
mem_linux.go#L55: if madvise(v, n, _MADV_FREE) == 0 {
mem_linux.go#L63: if madvise(v, n, _MADV_DONTNEED) == 0 {
mem_linux.go#L105: madvise(unsafe.Pointer(beg), end-beg, _MADV_HUGEPAGE)
mem_linux.go#L116: madvise(v, n, _MADV_NOHUGEPAGE)
mem_linux.go#L141: madvise(v, n, _MADV_COLLAPSE)
stubs2.go#L38: func madvise(addr unsafe.Pointer, n uintptr, flags int32) int32
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |